package com.bw.service;

import com.bw.bean.Geshou;
import com.bw.bean.Middle;
import com.bw.bean.Song;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SongService {
    List<Song> findAllSong(Map map);
    List<Geshou> geShous();

    int addSong(Song song);
    int addMiddle(Middle middle);

    int delSong(@Param("sid")Integer sid);
    int delMiddle(@Param("sid")Integer sid);

    Song select(@Param("sid")Integer sid);


    int pingfen(@Param("sid")Integer sid,@Param("score")Integer score);

    List<Song> pai();

    List<Geshou> gesous();

}
